import Axios from '../libs/api.request'

/**
 * 获取评论数据
 */
export const getDmListByActive = (aid,page,pageSize) => {
  return Axios.request({
    url: 'Comment/getListByActive',
    method: 'get',
    params: { aid: aid,page:page,size:pageSize }
  })
}
//评论支付
export const createComment = (data) => {
  return Axios.request({
    url: 'Pay/createComment',
    method: 'post',
    data
  })
}

